import BasicLayout from '@/layouts/basic-layout';

const meta = {
    auth: true,
    keepAlive: true
};
const pre = '/weChart/';
export default {
    path: '/weChart',
    name: 'weChart',
    meta,
    component: BasicLayout,
    children: [
        {
            path: 'chat',
            name: 'chat',
            meta: {
                ...meta,
                title: '微信聊天',
                keepAlive: true
            },
            component: () => {
                return import('@/pages/weChart/chat');
            }
        },
        {
            path: 'fuzzyQuery',
            name: 'fuzzyQuery',
            meta: {
                ...meta,
                title: '模糊查询',
                keepAlive: true
            },
            component: () => {
                return import ('@/pages/weChart/fuzzyQuery'); 
            }
        },
        {
            path: 'preciseQuery',
            name: 'preciseQuery',
            meta: {
                ...meta,
                title: '精准查询'
            },
            component: () => {
                return import ('@/pages/weChart/preciseQuery'); 
            }
            // wcReport,
        },
        {
            path: 'wcReport',
            name: 'wcReport',
            meta: {
                ...meta,
                title: '微信报表'
            },
            component: () => {
                return import ('@/pages/weChart/wcReport'); 
            }
        },
        {
            path: 'patientImg',
            name: 'patientImg',
            meta: {
                ...meta,
                title: '患者图床'
            },
            component: () => {
                return import ('@/pages/weChart/patientImg'); 
            }
        }
    ]
};
